package com.demo.petshop.service;

import com.demo.petshop.entity.Users;
import com.mybatisflex.core.service.IService;

import java.util.Map;

/**
 *  服务层。
 *
 * @author lenovo
 * @since 2025-06-11
 */
public interface UsersService extends IService<Users> {
    Object login(Users users);
    Object loginAdmin(Users users);
    Object checkMemberLevel();
    Object register(Users users);
    Object updatePassword(Map<String, Object> passwordData);
    Object checkLog();
    Object getProfile(Integer userId);
    Object updateSettings(Map<String, Object> settingsData);
    Object stats();
    Object registerShopkeeper(Users user);
    Users loginByEmail(String email, String password);
    Users getUserByEmail(String email);
    Object updateprofile(Users users);
}
